Skip to content

[1.x] Improve PHP 8.5+ support by avoiding deprecated method calls in tests - #185

Merged
clue merged 3 commits into
reactphp:1.xfrom
WyriHaximus-secret-labs:1.x-PHP8.5
Oct 3, 2026
Merged

clue merged 3 commits into
reactphp:1.xfrom
WyriHaximus-secret-labs:1.x-PHP8.5

Conversation

@WyriHaximus

@WyriHaximus WyriHaximus commented Nov 18, 2025 •

Copy link
Copy Markdown
Member

This PR adds support for PHP8.5 by running against PHP8.5 on CI and ensuring the code is compatible with PHP8.5.

Builds on #179, #184, and many others.

@WyriHaximus WyriHaximus added this to the v1.5.0 milestone Nov 18, 2025
@WyriHaximus
WyriHaximus requested a review from clue November 18, 2025 16:13
@WyriHaximus WyriHaximus changed the title [1.x] Run CI jobs on PHP8.5 [1.x] Improve PHP 8.5+ support by avoiding deprecated method calls Nov 18, 2025
@WyriHaximus

Copy link
Copy Markdown
Member Author

Had to kick the build a few times as GitHub and possibly the Internet (due to CloudFlare) is glitchy tonight.

Comment thread tests/WritableResourceStreamTest.php Outdated
@clue clue changed the title [1.x] Improve PHP 8.5+ support by avoiding deprecated method calls [1.x] Improve PHP 8.5+ support by avoiding deprecated method calls in tests Nov 18, 2025
While I couldn't pin it to the exact commit/PR/NEWS/UPGRADING item, PHP8.5 has seen a number of improvements to streams to make them less buggy. As a result, this test, which already confirmed the expected behavior is now failing because an error is tossed.

@clue clue left a comment

Copy link
Copy Markdown
Member

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

@WyriHaximus Thanks for the update, changes LGTM! :shipit:

@clue
clue merged commit b51de21 into reactphp:1.x Oct 3, 2026
17 checks passed
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Projects

None yet

Development

Successfully merging this pull request may close these issues.

2 participants